package com.ruoyi.community.domain;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 物业费用管理对象 community_fee
 *
 * @author ruoyi
 * @date 2023-10-18
 */
public class CommunityFee extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    private Long id;

    /**
     * 缴费单号
     */
    @Excel(name = "缴费单号")
    private String feeId;

    /**
     * 用户
     */
    @Excel(name = "用户")
    private String userId;

    /**
     * 缴费项目
     */
    @Excel(name = "缴费项目")
    private String items;

    /**
     * 金额
     */
    @Excel(name = "金额")
    private String amount;

    /**
     * 缴费状态
     */
    @Excel(name = "缴费状态")
    private String status;

    /**
     * 缴费时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "缴费时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date date;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public String getFeeId() {
        return feeId;
    }

    public void setFeeId(String feeId) {
        this.feeId = feeId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getUserId() {
        return userId;
    }

    public void setItems(String items) {
        this.items = items;
    }

    public String getItems() {
        return items;
    }

    public void setAmount(String amount) {
        this.amount = amount;
    }

    public String getAmount() {
        return amount;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getStatus() {
        return status;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public Date getDate() {
        return date;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("feeId", getFeeId())
                .append("userId", getUserId())
                .append("items", getItems())
                .append("amount", getAmount())
                .append("status", getStatus())
                .append("date", getDate())
                .toString();
    }
}
